package com.intelligent.bot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.intelligent.bot.base.result.B;
import com.intelligent.bot.model.User;
import com.intelligent.bot.model.req.*;
import com.intelligent.bot.model.res.LoginUserRes;

public interface IUserService extends IService<User> {


    B<LoginUserRes> adminLogin(LoginUserReq req);

    B<Void> adminAdd(AdminAddReq req);

    B<Void> update(AdminUpdateReq req);

    B<Page<User>> getAdminList(UserGetListReq req);

}
